package com.zf.mapper;


import com.zf.pojo.flight;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface flightMapper {

    List<flight> queryFlight();
    int deleteFlight(String  flightnumber);
    int addFlight(flight flight1);
    List<flight> queryMinPrice(String startPlace,String endPlace);
    List<flight> queryMinTime(String startPlace,String endPlace);


}
